package com.eastelsoft.smartiot.bssserver.domain;

import java.io.Serializable;
import java.util.Date;

public class TCmAppAuthorize implements Serializable {
    private String authorizeId;

    private String appId;

    private String userAccountId;

    private String openId;

    private String scope;

    private Date authTime;

    private static final long serialVersionUID = 1L;

    public String getAuthorizeId() {
        return authorizeId;
    }

    public void setAuthorizeId(String authorizeId) {
        this.authorizeId = authorizeId == null ? null : authorizeId.trim();
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId == null ? null : appId.trim();
    }

    public String getUserAccountId() {
        return userAccountId;
    }

    public void setUserAccountId(String userAccountId) {
        this.userAccountId = userAccountId == null ? null : userAccountId.trim();
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId == null ? null : openId.trim();
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope == null ? null : scope.trim();
    }

    public Date getAuthTime() {
        return authTime;
    }

    public void setAuthTime(Date authTime) {
        this.authTime = authTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", authorizeId=").append(authorizeId);
        sb.append(", appId=").append(appId);
        sb.append(", userAccountId=").append(userAccountId);
        sb.append(", openId=").append(openId);
        sb.append(", scope=").append(scope);
        sb.append(", authTime=").append(authTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}